#ifndef DATABASEMANAGER_H
#define DATABASEMANAGER_H

#include <string>
#include <vector>
#include <sqlite3.h>

class DatabaseManager {
public:
    static DatabaseManager& getInstance();

    bool connect();
    bool disconnect();
    bool executeQuery(const std::string& query);
    std::vector<std::vector<std::string>> fetchResults(const std::string& query);
    sqlite3* getDB(); 

private:
    DatabaseManager(const std::string& dbPath);
    ~DatabaseManager();

    std::string dbPath;
    sqlite3* db;
};

#endif // DATABASEMANAGER_H
